/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;

/**
 *
 * @author alunoinf
 */
public abstract class Pessoa {
    
        private String nome;
        private String email;
        
        public Pessoa(String nome, String email){
            this.email = email;
            this.nome = nome;
                      
        }

        public String getNome() {
            return nome;
        }

        public void setNome(String nome) {
            this.nome = nome;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }
        
        public abstract String getId();
        
    }
    
